namespace SimpleWebServices.Models
{
    using System;
    using System.Web.Mvc;
    using Xunit;

    public sealed class IProcessSubmissionFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IProcessSubmission).IsInterface);
        }

        [Fact]
        public void IRecord_Cacheability_set()
        {
            try
            {
                ActionResult result = (new IProcessSubmissionDummy() as IProcessSubmission).Process(null as FormSubmission);
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}